package com.bookmanager.www.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: 风离
 * @Date: 2021/10/26/21:51
 * @Description:
 */
@RestController
public class WelcomeController {
    @RequestMapping("/")
    public String helloWorld()
    {
        return "<h1>这里是书店商城的后台~</h1>";
    }
}
